import request from '@/utils/request'

// 查询培训信息列表
export function listClassesjk(query) {
  return request({
    url: '/system/classesjk/list',
    method: 'get',
    params: query
  })
}

// 查询培训信息详细
export function getClassesjk(id) {
  return request({
    url: '/system/classesjk/' + id,
    method: 'get'
  })
}

// 新增培训信息
export function addClassesjk(data) {
  return request({
    url: '/system/classesjk',
    method: 'post',
    data: data
  })
}

// 修改培训信息
export function updateClassesjk(data) {
  return request({
    url: '/system/classesjk',
    method: 'put',
    data: data
  })
}

// 删除培训信息
export function delClassesjk(id) {
  return request({
    url: '/system/classesjk/' + id,
    method: 'delete'
  })
}

// 导出培训信息
export function exportClassesjk(query) {
  return request({
    url: '/system/classesjk/export',
    method: 'get',
    params: query
  })
}